# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mailsform.ui'
#
# Created: Wed Jan  3 17:52:02 2007
#      by: PyQt4 UI code generator 4.0.1
#
# WARNING! All changes made in this file will be lost!

import sys
from PyQt4 import QtCore, QtGui

class Ui_MailsForm(object):
    def setupUi(self, MailsForm):
        MailsForm.setObjectName("MailsForm")
        MailsForm.resize(QtCore.QSize(QtCore.QRect(0,0,613,613).size()).expandedTo(MailsForm.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(MailsForm)
        self.vboxlayout.setMargin(9)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.splitter1 = QtGui.QSplitter(MailsForm)
        self.splitter1.setOrientation(QtCore.Qt.Horizontal)
        self.splitter1.setObjectName("splitter1")

        self.authorLabel = QtGui.QLabel(self.splitter1)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.authorLabel.sizePolicy().hasHeightForWidth())
        self.authorLabel.setSizePolicy(sizePolicy)
        self.authorLabel.setObjectName("authorLabel")

        self.pushButton = QtGui.QPushButton(self.splitter1)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
        self.pushButton.setSizePolicy(sizePolicy)
        self.pushButton.setAutoDefault(False)
        self.pushButton.setObjectName("pushButton")
        self.vboxlayout.addWidget(self.splitter1)

        self.splitter2 = QtGui.QSplitter(MailsForm)
        self.splitter2.setOrientation(QtCore.Qt.Vertical)
        self.splitter2.setObjectName("splitter2")

        self.mailsTreeWidget = QtGui.QTreeWidget(self.splitter2)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.mailsTreeWidget.sizePolicy().hasHeightForWidth())
        self.mailsTreeWidget.setSizePolicy(sizePolicy)
        self.mailsTreeWidget.setAlternatingRowColors(True)
        self.mailsTreeWidget.setColumnCount(2)
        self.mailsTreeWidget.setObjectName("mailsTreeWidget")

        self.mailTextEdit = QtGui.QTextEdit(self.splitter2)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(self.mailTextEdit.sizePolicy().hasHeightForWidth())
        self.mailTextEdit.setSizePolicy(sizePolicy)
        self.mailTextEdit.setReadOnly(True)
        self.mailTextEdit.setObjectName("mailTextEdit")
        self.vboxlayout.addWidget(self.splitter2)

        self.retranslateUi(MailsForm)
        QtCore.QObject.connect(self.pushButton,QtCore.SIGNAL("clicked()"),MailsForm.accept)
        QtCore.QMetaObject.connectSlotsByName(MailsForm)

    def retranslateUi(self, MailsForm):
        MailsForm.setWindowTitle(QtGui.QApplication.translate("MailsForm", "Mails", None, QtGui.QApplication.UnicodeUTF8))
        self.authorLabel.setText(QtGui.QApplication.translate("MailsForm", "Mails sent by ", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton.setText(QtGui.QApplication.translate("MailsForm", "Done", None, QtGui.QApplication.UnicodeUTF8))
        self.mailsTreeWidget.headerItem().setText(0,QtGui.QApplication.translate("MailsForm", "date", None, QtGui.QApplication.UnicodeUTF8))
        self.mailsTreeWidget.headerItem().setText(1,QtGui.QApplication.translate("MailsForm", "subject", None, QtGui.QApplication.UnicodeUTF8))
